package demo.activiti.sys.entity;

import demo.activiti.common.persistence.BaseEntity;

/**
 * Created by 汪国成 on 2017/3/2.
 */
public class Role extends BaseEntity<Role> {

    /**
     * 从属部门
     */
    private Dept dept;

    /**
     * 角色名称
     */
    private String name;

    public Role () {}

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
